package String;

import javax.tools.JavaCompiler;

public class Demo13 {
    public static void main(String[] args) {
        String str="Thinking in Java";
        int index=str.indexOf("Java");
        System.out.println();
        index =str.indexOf("in");
        index=str.indexOf('i');
        String s=str.toUpperCase();
        //index=str.indexOf(java);
        System.out.println(str.indexOf("Java"));
    }
}
